/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.panomedic.kernel.controllers;

import com.panomedic.gui.PhotoPanel;

/**
 *
 * @author Yare
 */
public class PhotoPanelController {

    PhotoPanel photoPanel;

    public PhotoPanelController(PhotoPanel photoPanel) {
        this.photoPanel = photoPanel;
        addBindings();
    }
    
    protected void addBindings() {
        
        PhotoPanelListener photoPanelListener = new PhotoPanelListener(photoPanel);
        photoPanel.addMouseListener(photoPanelListener);
        
        
    }
    
}
